public class T1 {
    protected int a;
}

class T2 extends T1{
    public static void main(String[] args) {
        T2 t = new T2();
        t.a = 5;
        System.out.println(t.a);

        T1 t1 = new T1();
        t1.a = 10;
        System.out.println(t1.a);
    }
}


abstract class T3{
    abstract void func();
    void f(){
        ;
    }
}


interface T4 {
    void func1();
}

interface T5 extends T4{
    void func2();
}

class T6 implements T5{

    public static void main(String[] args) {
        T5 n = new T6();
        T1 n1 = new T1();
        System.out.println(n1 instanceof T5);

    }

    @Override
    public void func2() {

    }

    @Override
    public void func1() {

    }
}


class Z1{
    int age;

    Z1(int age){
        this.age = age;
    }
}

class Z2 extends Z1{

    Z2(int age){
        super(age);
    }

    public static void main(String[] args) {
        Z2 n = new Z2(5);
    }
}
